import gulp from 'gulp';
import gulpLoadPlugins from 'gulp-load-plugins';
const $ = gulpLoadPlugins();
import build from "../FRAMEWORK/build-tools/server.build";
import runSequence from 'run-sequence';

gulp.task("build_logic", ()=>build.buildPersistentJS({entry:'./test.js',dest:"dist/logic.js"}));
gulp.task("build_server", ()=>build.buildServerJS({entry:'./server.js',dest:"dist/testServer.js"}));

gulp.task("build", cb =>
runSequence(
    "build_logic",
    "build_server",
    cb
));